(function($){
  var init = function($el){
    this.$el = $el
    this.curX = this.$el.css('left')
    this.cruY = this.$el.css('top')
  }
  var Css3 = function($el){
    init.call(this, $el)
    this.$el.css({top:0, left:0})
    this.$el.on('transitioned', function(){

    })


  }
  var defaults = {
    css3: false,
    js: false
  }
  var move = function($el, options){
    var mode = null
    if(options.css3 && transition.isSupport){

    } else if(options.js){

    } else {

    }
    return {
      to: $.proxy(mode.to, mode),
      x: $.proxy(mode.x, mode)
    }
  }
  move('#box', {
    css: false
  }).move(100)
  $.fn.extend({
    move: function(option, x, y){
      return this.each(function(){
        var $this = $(this),
            mode = $this.data('move'),
            options = $.extend({}, defaults, typeof option === 'object' && option)
        if(!mode){
          $this.data('move', slider = move($this, options))
        }
        if(typeof mode[option] === 'function'){
          mode[option](x, y)
        }
      })
    }
  })
})(jQuery)